<template>
	<view class="padding">
		<rich-text type="text" :nodes="agree.text"></rich-text>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				agree: {}
			}
		},
		onLoad() {
			this.agreeData()
		},
		methods: {
			agreeData(){
				const that = this
				that.$request.getForm('/view/news/agree').then(res => {
					that.agree = res.data
				})
			}
		}
	}
</script>

<style>
	page {
		background-color: #fff;
	}
</style>
